import { Component } from 'react'
import { View,Text,Image } from '@tarojs/components'
import { AtButton } from 'taro-ui'
import "taro-ui/dist/style/components/loading.scss";
import "taro-ui/dist/style/components/avatar.scss";
import "taro-ui/dist/style/components/search-bar.scss";
import "taro-ui/dist/style/components/icon.scss";
import "taro-ui/dist/style/components/button.scss" // 按需引入
import './mycollect.less'

import TabBar from './TabBar'
import hh from '../../images/1.png'



export default class Collect extends Component {
    render () {
      let hotItem = this.props.hotItem;
      return (
        <View>
          <View className="x">
            <View className="zuo">
              <Image src={hh} className="image1"></Image>
            </View>
            <View className="you">
              <View className="title">
                <Text className="text1">人参的功效和作用</Text>
                <Text className='text2'>2020.09.17</Text>
                <View className='text3'>人参中药学中属于补气药，药性甘、微苦、微温，主入脾，肺，心...</View>
              </View>

            </View>
          </View>

          <View className="x">
            <View className="zuo">
            <Image src={hh} className="image1"></Image>

            </View>
            <View className="you">
              <View className="title">
                <Text className="text1">人参的功效和作用</Text>
                <Text className='text2'>2020.09.17</Text>
                <View className='text3'>人参中药学中属于补气药，药性甘、微苦、微温，主入脾，肺，心...</View>
              </View>

            </View>
          </View>

          <View className="x">
            <View className="zuo">
            <Image src={hh} className="image1"></Image>

            </View>
            <View className="you">
              <View className="title">
                <Text className="text1">人参的功效和作用</Text>
                <Text className='text2'>2020.09.17</Text>
                <View className='text3'>人参中药学中属于补气药，药性甘、微苦、微温，主入脾，肺，心...</View>
              </View>

            </View>
          </View>

          <View className="x">
            <View className="zuo">
            <Image src={hh} className="image1"></Image>

            </View>
            <View className="you">
              <View className="title">
                <Text className="text1">人参的功效和作用</Text>
                <Text className='text2'>2020.09.17</Text>
                <View className='text3'>人参中药学中属于补气药，药性甘、微苦、微温，主入脾，肺，心...</View>
              </View>

            </View>
          </View>

          <View className='loadingg'>
            <AtButton type='primary' loading='true' className='jia'>正在加载</AtButton>
          </View>
          <TabBar current={3}></TabBar>

        </View>
      );
    }
  }
